﻿<UserControl x:Class="MyFinanceManager.PC.ucAddNewTransfer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:MyFinanceManager_Objects="clr-namespace:MyFinanceManager.Objects;assembly=MyFinanceManager.PC.Objects" Height="254" MinWidth="192">

    <UserControl.Resources>
        <ObjectDataProvider x:Key="TransferRecordDS" ObjectType="{x:Type MyFinanceManager_Objects:TransferRecord}"/>
    </UserControl.Resources>

    <StackPanel x:Name="LayoutRoot">
        <TextBlock Text="Konto von"/>
		<ComboBox x:Name="AccountFrom" IsSynchronizedWithCurrentItem="True" Height="24.28" Text="{Binding Path=AccountName, Mode=Default, Source={StaticResource TransferRecordDS}}"/>
		<TextBlock Text="Konto zu"/>
		<ComboBox x:Name="AccountTo" IsSynchronizedWithCurrentItem="True" Height="24.28" Text="{Binding Path=AccountName, Mode=Default, Source={StaticResource TransferRecordDS}}"/>
		<TextBlock Text="Betrag"/>
	<TextBox Text="{Binding Path=Amount, Mode=Default, StringFormat=C, Source={StaticResource TransferRecordDS}}" />
		<TextBlock Text="Beschreibung"/>
		<TextBox Text="{Binding Path=Description, Mode=Default, Source={StaticResource TransferRecordDS}}" />
		<TextBlock Text="Datum &amp; Uhrzeit"/>
		<TextBox Text="{Binding Path=Time, Mode=Default, Source={StaticResource TransferRecordDS}}" />
</StackPanel>
</UserControl>